//
//  YZBaseRefreshTableView.h
//  VET
//
//  Created by YZ on 2018/7/23.
//  Copyright © 2018年 YZ. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^YZHeaderRefreshBlock)(void);
typedef void(^YZFooterRefreshBlock)(void);



@interface YZBaseRefreshTableView : UITableView

@property (nonatomic, copy) YZHeaderRefreshBlock headerRefreshBlock;

@property (nonatomic, copy) YZFooterRefreshBlock footerRefreshBlock;


- (void)headerBeginRefresh;

- (void)headerEndRefresh;

- (void)footerBeginRefresh;

- (void)footerEndRefresh;

/**
 显示无更多数据
 */
- (void)showNoMoreData;

/**
 显示无更多数据后，更改状态
 */
- (void)resetState;

@end
